<template>
  <div class="">
    <!-- height 56px -->
    <div class="title-pro">{{ titlepro }}</div>
  </div>
</template>

<script type="text/ecmascript-6">
export default {
  'props': {
    'titlepro': {
      'type': String,
      'default': ''
    }
  }
};
</script>

<style lang="scss" scoped>
.title-pro {
  position: relative;
  font-size: 24px;
  font-family: Microsoft YaHei;
  font-weight: bold;
  color: #1f2e4d;
  display: flex;
  align-items: center;
  &::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 56px;
    background: #81bff9;
    border-radius: 4px 0px 0px 0px;
    margin-right: 20px;
    box-shadow: -2px -2px 2px rgba(255, 255, 255, 0.2),
      2px 2px 2px rgba(0, 0, 0, 0.1);
  }
}
</style>
